﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;


public class SortObjectsCommunes : IComparer<Commune>
{
    public int Compare(Commune com1, Commune com2)
    {
        return (com1.ComID < com2.ComID) ? 1 : ((com1.ComID > com2.ComID) ? -1 : 0);
    }
}